package com.hitangjun.pattern.templatemethod.InterestRate;

public class client {
	private static Account acct = null;
	public static void main(String args[]){
		acct = new MoneyMarketAccount();
		System.out.println("Interest from Money Market account "+acct.calculateInterest());
		
		acct = new CDAccount();
		System.out.println("Interest from CD account "+acct.calculateInterest());
	}
}
